package com.leyou.search.repository;

import com.leyou.search.entity.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 继承ElasticsearchRepository<自定义封装实体类,主键id数据类型>
 * 自动具备增删改查索引库能力
 */
public interface GoodsRepository extends ElasticsearchRepository<Goods,Long> {

}
